/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pojo;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author Roaa
 */

    public class Dimensionbookdata implements Serializable {

    private Long isbn;

    private Integer length;/////////////////////////////////////error here

    private Short lengthBy;

    private Integer width;

    private Short widthBy;

    private Integer depth;

    private Short depthBy;

    private Integer weight;

    private Short weightBy;

    private Integer pages;

    private Short pagesBy;

    private String format;

    private Short formatBy;

    private String mailFormat;

    private Short mailFormatBy;

    private Integer items;

    private Short itemsBy;

    private Date recUpdateDate;

    public Dimensionbookdata() {
    }

    public Dimensionbookdata(long isbn) {
        this.isbn = isbn;
    }

    public Dimensionbookdata(long isbn, Date recUpdateDate) {
        this.isbn = isbn;
        this.recUpdateDate = recUpdateDate;
    }

    public Long getIsbn() {
        return isbn;
    }

    public void setIsbn(Long isbn) {
        this.isbn = isbn;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Short getLengthBy() {
        return lengthBy;
    }

    public void setLengthBy(Short lengthBy) {
        this.lengthBy = lengthBy;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public Short getWidthBy() {
        return widthBy;
    }

    public void setWidthBy(Short widthBy) {
        this.widthBy = widthBy;
    }

    public Integer getDepth() {
        return depth;
    }

    public void setDepth(Integer depth) {
        this.depth = depth;
    }

    public Short getDepthBy() {
        return depthBy;
    }

    public void setDepthBy(Short depthBy) {
        this.depthBy = depthBy;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Short getWeightBy() {
        return weightBy;
    }

    public void setWeightBy(Short weightBy) {
        this.weightBy = weightBy;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    public Short getPagesBy() {
        return pagesBy;
    }

    public void setPagesBy(Short pagesBy) {
        this.pagesBy = pagesBy;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public Short getFormatBy() {
        return formatBy;
    }

    public void setFormatBy(Short formatBy) {
        this.formatBy = formatBy;
    }

    public String getMailFormat() {
        return mailFormat;
    }

    public void setMailFormat(String mailFormat) {
        this.mailFormat = mailFormat;
    }

    public Short getMailFormatBy() {
        return mailFormatBy;
    }

    public void setMailFormatBy(Short mailFormatBy) {
        this.mailFormatBy = mailFormatBy;
    }

    public Integer getItems() {
        return items;
    }

    public void setItems(Integer items) {
        this.items = items;
    }

    public Short getItemsBy() {
        return itemsBy;
    }

    public void setItemsBy(Short itemsBy) {
        this.itemsBy = itemsBy;
    }

    public Date getRecUpdateDate() {
        return recUpdateDate;
    }

    public void setRecUpdateDate(Date recUpdateDate) {
        this.recUpdateDate = recUpdateDate;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (isbn != null ? isbn.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Dimensionbookdata)) {
            return false;
        }
        Dimensionbookdata other = (Dimensionbookdata) object;
        if ((this.isbn == null && other.isbn != null) || (this.isbn != null && !this.isbn.equals(other.isbn))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "beans.Dimensionbookdata[isbn=" + isbn + "]";
    }

}
